<#include "/includes/header.ftl">
<script type="text/javascript">
<!--
	function showLayer( whichLayer,showFlag )
	{
	  var elem, vis;
	  if( document.getElementById ) // this is the way the standards work
	    elem = document.getElementById( whichLayer );
	  else if( document.all ) // this is the way old msie versions work
	      elem = document.all[whichLayer];
	  else if( document.layers ) // this is the way nn4 works
	    elem = document.layers[whichLayer];
	  vis = elem.style;
	  // if the style.display value is blank we try to figure it out here
	  //if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
	  //  vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
	  vis.display = (showFlag)?'block':'none';
	}
//-->
</script>
<script type="text/javascript" src='<@spring.url "/JS/public_smo_scripts.js" />'></script>
<style type="text/css">
	div#subcategory
	{
	  margin: 0px 20px 0px 20px;
	  display: none;
	}
</style>

<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	
	<TD valign="top" width="90%">
		<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
			<TR>
				<Th colspan="7">Congratulation: You have 3088 articles you favorited,your English level should be above CET6</Th>								
			</TR>
			
			<TR>
				<Td colspan="7">
					<#assign curr_gid="">
					<#if category?has_content>
						<#assign curr_gid=category.categoryId>
						<#if primaryCategoryTrail?has_content>
						<#--articles path-->
						<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
							<TR><TD>
							<#list primaryCategoryTrail as g>
								<A href='<@spring.url "/myarticlelist.jsp?gid=${g.categoryId}"/>'>${g.name?default("No-Name")}</A>&gt;&gt;
								</#list>
							</TD></TR>
						</TABLE>		
						</#if>
						
						<#--div ID="subcategory" STYLE="display:none"-->
							<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
								<#if childCategoryListGroups?has_content>
									<#list childCategoryListGroups as childCategoryList>
									<TR>
										<#list childCategoryList as g>
											<TD><A href='<@spring.url "/myarticlelist.jsp?gid=${g.categoryId}"/>'>${g.name?default(g.categoryId)}</A>（268/586）</TD>
										</#list>
									</TR>
									</#list>
								</#if>
								<tr>
										<td><a href="/nmw/myarticlelist.jsp?gid=edictvoa1500">未分类文章</a></td>
								</tr>
							</TABLE>		
						<#--/div-->
					</#if>
				</Td>								
			</TR>				
			<FORM name="articleform" action='<@spring.url "/deletefavoritearticles.jsp" />' method="post">
			<TR>
				<Th>文章标题</Th>								
				<Th>发布日期</Th>								
				<Th>收藏人数</Th>
				<Th>收藏日期</Th>								
				<Th><INPUT type="checkbox"  onclick="checkUncheckAll(this)" name="checkall">删除</Th>								
			</TR>
			<#if user2ContentList?has_content>
				<#list user2ContentList as u2c>
				<TR>
					<TD><A href='<@spring.url "/productdetail.jsp?csid=${u2c.content.sysId}&gid=${curr_gid}"/>'>${u2c.content.name?default("No-Name")}</A></TD>								
					<TD nowrap="true">星期一, 2007.09.03</TD>								
					<TD nowrap="true">235423</TD>
					<TD nowrap="true">星期一, 2007.09.03</TD>								
					<TD nowrap="true"><INPUT type="checkbox" name="csids" value="${u2c.content.sysId}"></TD>								
				</TR>
				</#list>
				<TR><TD colspan="4" align="left"></TD><TD><INPUT type="submit" name="addfavwords" value="删除"></TD></TR>         
				<TR><TD colspan="6" align="left"><#include "/includes/pagefooter.ftl"></TD></TR>         
			</#if>
			</FORM>
		</TABLE>						
	</TD>	
	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">